package inventory.entity.po;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import inventory.utils.CName;

import java.util.Date;

/**
 * @author sxt
 * @create 2019-11-08 23:44
 */
public class InRepositoryRecordPo {

    @TableId(value = "in_repository_record_id", type = IdType.UUID)
    @CName("itemId")
    private String inRepositoryRecordId;
    @CName("sourceRepositoryName")
    private String sourceRepository;
    @CName("targetRepositoryName")
    private String targetRepository;
    private String sourceRepositoryId;
    private String targetRepositoryId;
    private String brand;//品牌
    private String typicalName;//类型映射
    private String typicalModel;//型号
    private String unit;//单位
    private String categoryName;//目录名
    private String categoryId;//目录id
    private String categoryContext;//目录说明
    private Long count;
    private Date inTime;
    private String operatorId;
    private String operatorWorkId;
    private String operatorUsername;
    private String roleId;
    private String role;


    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getInRepositoryRecordId() {
        return inRepositoryRecordId;
    }

    public void setInRepositoryRecordId(String inRepositoryRecordId) {
        this.inRepositoryRecordId = inRepositoryRecordId;
    }


    public String getSourceRepository() {
        return sourceRepository;
    }

    public void setSourceRepository(String sourceRepository) {
        this.sourceRepository = sourceRepository;
    }

    public String getSourceRepositoryId() {
        return sourceRepositoryId;
    }

    public void setSourceRepositoryId(String sourceRepositoryId) {
        this.sourceRepositoryId = sourceRepositoryId;
    }

    public String getTargetRepositoryId() {
        return targetRepositoryId;
    }

    public void setTargetRepositoryId(String targetRepositoryId) {
        this.targetRepositoryId = targetRepositoryId;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperatorWorkId() {
        return operatorWorkId;
    }

    public void setOperatorWorkId(String operatorWorkId) {
        this.operatorWorkId = operatorWorkId;
    }

    public String getOperatorUsername() {
        return operatorUsername;
    }

    public void setOperatorUsername(String operatorUsername) {
        this.operatorUsername = operatorUsername;
    }

    public String getTargetRepository() {
        return targetRepository;
    }

    public void setTargetRepository(String targetRepository) {
        this.targetRepository = targetRepository;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getTypicalName() {
        return typicalName;
    }

    public void setTypicalName(String typicalName) {
        this.typicalName = typicalName;
    }

    public String getTypicalModel() {
        return typicalModel;
    }

    public void setTypicalModel(String typicalModel) {
        this.typicalModel = typicalModel;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCategoryContext() {
        return categoryContext;
    }

    public void setCategoryContext(String categoryContext) {
        this.categoryContext = categoryContext;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }




    @Override
    public String toString() {
        return "InRepositoryRecordPo{" +
                "inRepositoryRecordId='" + inRepositoryRecordId + '\'' +
                ", sourceRepository='" + sourceRepository + '\'' +
                ", targetRepository='" + targetRepository + '\'' +
                ", sourceRepositoryId='" + sourceRepositoryId + '\'' +
                ", targetRepositoryId='" + targetRepositoryId + '\'' +
                ", brand='" + brand + '\'' +
                ", typicalName='" + typicalName + '\'' +
                ", typicalModel='" + typicalModel + '\'' +
                ", unit='" + unit + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", categoryContext='" + categoryContext + '\'' +
                ", count=" + count +
                ", inTime=" + inTime +
                ", operatorId='" + operatorId + '\'' +
                ", operatorWorkId='" + operatorWorkId + '\'' +
                ", operatorUsername='" + operatorUsername + '\'' +
                '}';
    }
}
